<?php
include_once "../librari/koneksi.php";
$item = $_GET['id'];
$sql = "select * from lowongan where idLowongan =".$item;

$id="";
$posisi="";
$tgl="";
$pend="";
$usia="";
$agama="";
$jk="";
$result = mysql_query($sql);
while ($row = mysql_fetch_array($result)) {
   $id=$row['idLowongan'];
   $posisi=$row['posisi'];
   $tgl=$row['tglBtsDftar'];
   $pend=$row['pendidikan'];
   $usia=$row['usia'];
   $agama=$row['agama'];
   $jk=$row['jns_kelamin'];
}

?>
<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" "http:www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http:www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>ubahSyarat</title>

<link href="styleadmin.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="styleadmin.css" type="text/css" />

</head>

<body>
<div id="header">
    <img src="image/logokanisius1.gif" class="logo" />
</div>

<div id="garis">
</div>
<div id="contenthome">
<!----><div id="leftcontenthome"><!---->
<form id="form1" name="form1" method="post" action="lowongan_ubh.php">
<table width="450" border="0" cellspacing="2" cellpadding="0" class="keliling">
    <tr bgcolor="#F48021"> 
      <td colspan="2" align="center"><b>UBAH LOWONGAN</b></td>
	  <input name="txtId" type="hidden" value="<?php echo $id; ?>">
    </tr>
	  <td align="right">Posisi : </td>
      <td><input name="Txtposisi" type="text" value="<?php echo $posisi; ?>" size="46" maxlength="60"></td>
    </tr>
	<tr> 
      <td align="right">Batas Daftar : </td>
      <td><input name="Txttgl" type="date" value="<?php echo $tgl; ?>" size="46" maxlength="60"></td>
    </tr>
    <tr> 
      <td align="right">Pendidikan : </td>
      <td><input name="Txtpend" type="text" value="<?php echo $pend; ?>" size="46" maxlength="60"></td>
    </tr>
    <tr> 
      <td align="right">Usia : </td>
      <td><input name="Txtusia" type="text" value="<?php echo $usia; ?>" size="10" maxlength="15">
      </td>
    </tr>
	<tr> 
      <td align="right">Agama : </td>
      <td><input name="Txtagama" type="text" value="<?php echo $agama; ?>" size="10" maxlength="15">
      </td>
    </tr>
	<tr> 
      <td align="right">Gender : </td>
      <td><input name="Txtjk" type="text" value="<?php echo $jk; ?>" size="10" maxlength="15">
      </td>
    </tr>
	<tr> 
      <td>&nbsp;</td>
      <td>
        <label>
          <input type="submit" name="Submit" value="UBAH" />
          </label>
      
      </td>
    </tr>
  </table>
  </form>
  </div>
</div>
</body>
</html>
<?
ob_end_flush();
?>